package com.common.service.departmentjob;

import com.common.entity.department.DepartmentEntity;
import com.common.entity.job.JobEntity;
import com.common.query.ConditionService;
import com.common.requestvo.departmentjob.DepartmentReqVo;
import com.common.requestvo.departmentjob.JobReqVo;
import com.common.vo.departmentjob.DepartmentVo;
import com.common.vo.departmentjob.JobVo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * 岗位Service
 *
 * @author johnny
 * @create 2021-05-14 8:57 下午
 **/
public interface JobService extends ConditionService<JobEntity> {
    /**
     * 分页查询接口
     *
     * @param jobReqVo : jobReqVo
     * @param pageVo   : pageVo
     * @return : Page<JudicialPersonalVo>
     */
    Page<JobVo> listByCondition(JobReqVo jobReqVo, Pageable pageVo);


    void add(JobReqVo jobReqVo);

    void edit(JobReqVo jobReqVo);

    void delete(Long id);

}